package com.cs.contract.service.impl;

import com.cs.contract.mapper.CsSignMapper;
import com.cs.contract.service.CsSignService;
import com.cs.contract.domain.CsSign;
import org.springframework.stereotype.Service;

import java.util.List;


/**
 * @Author：zrx
 * @Package：com.cs.service.impl
 * @Project：RuoYi-Cloud
 * @name：CsSignServiceImpl
 * @Date：2024/11/18 19:39
 * @Filename：CsSignServiceImpl
 */
@Service
public class CsSignServiceImpl implements CsSignService {
    private final CsSignMapper csSignMapper;

    public CsSignServiceImpl(CsSignMapper csSignMapper) {
        this.csSignMapper = csSignMapper;
    }

    @Override
    public List<CsSign> listCsSign(CsSign csSign) {
        return csSignMapper.listCsSign(csSign);
    }

    @Override
    public Integer updateCsSign(CsSign csSign) {
        return csSignMapper.updateCsSign(csSign);
    }

    @Override
    public Integer deleteCsSignByEid(Integer eid) {
        return csSignMapper.deleteCsSignByEid(eid);
    }

    @Override
    public Integer insertCsSign(CsSign csSign) {
        return csSignMapper.insertCsSign(csSign);
    }
}
